home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Techniques / Examples by Joe Strout / QD3D Demo3 / QD3D Demo 3 READ ME < prev    next >
Encoding:
Text File  |  2000-04-21  |  2.6 KB  |  30 lines

  1. QD3D Demo 3
  2. ===========
  3.  
  4. This project demonstrates accessing the QuickDraw 3D library from REALbasic.  It is an extension of QD3D Demo 2; it adds a background, simple collision detection (based on a world grid), and a more gamelike interface.
  5.  
  6. Functionality:
  7. The game automatically loads the scene.  Use the arrow keys to move your avatar around.  You shouldn't be able to walk through trees or the temple.  You can switch between first-person and third-person views using the radio buttons below the rendering area.
  8.  
  9. Compatibility:
  10. This code has been tested with REALbasic 2.1.  It may work on earlier versions of RB, but it will *not* work on 2.0.2 or earlier because of changes to the project file format.  It will not currently work under Windows, though it should be possible to make it do so without too much work.
  11.  
  12. About the Models:
  13. The player avatar is the BetaMan model, adapted by yours truly from a model called "AlphaMan" by Todd DeMelle (Ejwize@aol.com).  It was made using Meshwork [1].  The temple and trees were also made with Meshwork.  Meshwork files for these models are available upon request.
  14.  
  15. About QuickDraw 3D:
  16. QuickDraw 3D (abbreviated QD3D) is a high-level 3D library by Apple Computer.  It is widely reknowned for a very clean, powerful design.  In 1999, Apple decided to drop QD3D, and it will not be present in Mac OS X and beyond.  However, it is now being re-implemented as an open-source project called Quesa [2].  The Quesa team has already rewritten most of QD3D, with the remaining functions to be finished in the next few months.  Moreover, Quesa is even better than QD3D, not least because it's more portable: it already runs on MacOS, Windows, Linux, and BeOS, and additional platforms could be easily added.  Quesa, like QD3D, uses a plug-in rendering architecture; currently the Mac version renders via OpenGL, but if OpenGL goes away (yes, this could happen), Quesa will simply use a different plug-in renderer.  So writing for QD3D/Quesa maximizes both the portability and the longevity of your code.
  17.  
  18. Programming in Quesa/QD3D:
  19. See the online QD3D book [3].  This is a little dense, but really does contain almost all the information you need to program with QD3D (or, equivalently, Quesa).  The demo code gives you many examples of how to translate the QD3D functions into REALbasic code.
  20.  
  21. For more information:
  22. See my REALbasic code page [4].  Or write to me (Joe Strout) at <joe@strout.net>.
  23.  
  24.  
  25. ---
  26. [1] http://codenautics.com/meshwork
  27. [2] http://www.quesa.org
  28. [3] http://developer.apple.com/techpubs/quicktime/qtdevdocs/QD3D/qd3d_book.htm
  29. [4] http://strout.net/info/coding/rb/
  30.